package org.dei.perla.sys.device.fpc.intec.datastructure;

import org.dei.perla.utils.dataconverter.annotations.SimpleField;
import org.dei.perla.utils.dataconverter.annotations.StructInfo;
import org.dei.perla.utils.dataconverter.enums.Endianness;
import org.dei.perla.utils.dataconverter.enums.Sign;

@StructInfo(endianness = Endianness.LITTLE_ENDIAN)
public class IntecParameters {	
	
	@SimpleField(size = 4, sign = Sign.SIGNED)
	private int masterPollingFrequency;
	@SimpleField(size = 4, sign = Sign.SIGNED)
	private int numPollBeforeTransmission;
	@SimpleField(size = 8, sign = Sign.SIGNED)
	private long localTime;
	@SimpleField(size = 4, sign = Sign.SIGNED)
	private int frequencySampling;
	@SimpleField(size = 4, sign = Sign.SIGNED)
	private int adcGain;
	
	public int getMasterPollingFrequency() {
		return masterPollingFrequency;
	}
	
	public void setMasterPollingFrequency(int masterPollingFrequency) {
		this.masterPollingFrequency = masterPollingFrequency;
	}
	
	public int getNumPollBeforeTransmission() {
		return numPollBeforeTransmission;
	}
	
	public void setNumPollBeforeTransmission(int numPollBeforeTransmission) {
		this.numPollBeforeTransmission = numPollBeforeTransmission;
	}
	
	public long getLocalTime() {
		return localTime;
	}
	
	public void setLocalTime(long localTime) {
		this.localTime = localTime;
	}
	
	public int getFrequencySampling() {
		return frequencySampling;
	}
	
	public void setFrequencySampling(int frequencySampling) {
		this.frequencySampling = frequencySampling;
	}
	
	public int getAdcGain() {
		return adcGain;
	}
	
	public void setAdcGain(int adcGain) {
		this.adcGain = adcGain;
	}
	
}
